package cn.itcast.day03.demo03;

public class Demo01VariableDifference {
    String name;

    public void methodA() {
        int num = 20;
        System.out.println(num);
        System.out.println(name);
    }

    public void methodB(int param) {
        System.out.println(param);
        int age;
//        System.out.println(age);
//        System.out.println(num);
        System.out.println(name);
    }
}
